<?php
class gaji_app extends application
{
    function gaji_app()
	{
		$this->application("gaji", _($this->help_context = "&Penggajian"));

        $this->add_module(_("Transactions"));
        $this->add_lapp_function(0, _("Kas Bon"),
			"sales/customer_payments.php?", 'SA_SALESPAYMNT', MENU_TRANSACTION);

        $this->add_module(_("Inquiries and Reports"));
        $this->add_lapp_function(1, _("Print Slip Upah"),
			"sales/inquiry/customer_inquiry.php?", 'SA_SALESTRANSVIEW', MENU_INQUIRY);
        $this->add_lapp_function(1, _("Print Daftar Upah"),
			"sales/inquiry/customer_inquiry.php?", 'SA_SALESTRANSVIEW', MENU_INQUIRY);
        $this->add_lapp_function(1, _("Print Slip Gaji"),
			"sales/inquiry/customer_inquiry.php?", 'SA_SALESTRANSVIEW', MENU_INQUIRY);
        $this->add_lapp_function(1, _("Print Daftar Gaji"),
			"sales/inquiry/customer_inquiry.php?", 'SA_SALESTRANSVIEW', MENU_INQUIRY);
        $this->add_lapp_function(1, _("Print List Bank Transfer"),
			"sales/inquiry/customer_inquiry.php?", 'SA_SALESTRANSVIEW', MENU_INQUIRY);
        $this->add_module(_("Maintenance"));

        $this->add_extensions();
        $this->add_lapp_function(2, _("Tambah dan Kelola Karyawan"),
			"gaji/manage/employee.php?", 'SA_CUSTOMER', MENU_ENTRY);
	}
}
